package visualization.operators
{
	import visualization.IDataPoint;
	import visualization.Visualization;
	
	
	public class ScaleBy extends Operator
	{
		public var number:Object = 0;
		public var scaleBy:Object = 1;
		
		public function ScaleBy()
		{
			super();
		}
		
		override public function process(context:Visualization, element:IDataPoint=null):Object{
			return (context.getValue(this.number,element) as Number) * (context.getValue(this.scaleBy,element) as Number);
		}
		
	}
}